; and for such purposes for the first quarter of fiscal year 2019, $1,400,000,000, to remain available until expended. For carrying out, after May 31 of the current fiscal year, except as otherwise provided, titles I, IV–D, X, XI, XIV, and XVI of the Social Security Act and the Act of July 5, 1960, for the last 3 months of the current fiscal year for unanticipated costs, incurred for the current fiscal year, such sums as may be necessary. Low income home energy assistance For making payments under subsections (b) and (d) of section 2602 of the Low Income Home Energy Assistance Act of 1981, $3,390,304,000: Provided , That all but $491,000,000 of this amount shall be allocated as though the total appropriation for such payments for fiscal year 2018 was less than $1,975,000,000: Provided further , That notwithstanding section 2609A(a), of the amounts appropriated under section 2602(b), not more than $2,988,000 of such amounts may be reserved by the Secretary for technical assistance, training, and monitoring of program activities for compliance with internal controls, policies and procedures and may, in addition to the authorities provided in section 2609A(a)(1), use such funds through contracts with private entities that do not qualify as nonprofit organizations. Refugee and entrant assistance (including transfer of funds) For necessary expenses for refugee and entrant assistance activities authorized by section 414 of the Immigration and Nationality Act and section 501 of the Refugee Education Assistance Act of 1980, and for carrying out section 462 of the Homeland Security Act of 2002, section 235 of the William Wilberforce Trafficking Victims Protection Reauthorization Act of 2008, the Trafficking Victims Protection Act of 2000 ( TVPA ), and the Torture Victims Relief Act of 1998, $1,022,811,000, of which $993,321,000 shall remain available through September 30, 2020 for carrying out such sections 414, 501, 462, and 235: Provided , That amounts available under this heading to carry out the TVPA shall also be