that the Administration is sufficiently ready to assume the functions, and that applicants to those programs will not be unduly adversely affected, but in no case later than 18 months after the date of enactment of this Act, the functions and authority of the Secretary described in subparagraph (B) shall be transferred to the Administration. (B) Functions and authority The functions and authority of the Secretary described in this subparagraph are functions and authority under— (i) subsection title XVII of the Energy Policy Act of 2005 ( 42 U.S.C. 16511 et seq.)