; and (B) how such funds will be used, including specific amounts and purposes. (d) Transfers of funds (1) In general In carrying out subsection (c) and subject to paragraphs (2) and (5), the President may transfer funds available in the AUKUS Submarine Security Activities Account to an account or fund available to the Department of Defense or any other appropriate agency. (2) Department of Energy In carrying out subsection (c), and in accordance with the Atomic Energy Act of 1954 ( 42 U.S.C. 2011 et seq. ), the President may transfer funds available in the AUKUS Submarine Security Activities Account to an account or fund available to the Department of Energy to carry out activities related to submarine security activities between Australia, the United Kingdom, and the United States. (3) Availability for obligation Funds transferred under this subsection shall be available for obligation for the same time period and for the same purpose as the account or fund to which transferred. (4) Transfer back to account Upon a determination by the President that all or part of the funds transferred from the AUKUS Submarine Security Activities Account are not necessary for the purposes for which such funds were transferred, and subject to paragraph (5), all or such part of such funds shall be transferred back to the AUKUS Submarine Security Activities Account. (5) Notification and report (A) Notification The President shall notify the appropriate congressional committees, the Committee on Appropriations of the Senate, and the Committee on Appropriations of the House of Representatives of— (i) before the transfer of any funds under this subsection— (I) the amount of funds to be transferred; and (II) the planned or anticipated purpose of such funds; and (ii) before the obligation of any funds transferred under this subsection— (I) the amount of funds to be obligated