; and for housing counselor training: Provided further , That for purposes of providing such grants from amounts provided under this heading, the Secretary may enter into multiyear agreements, as appropriate, subject to the availability of annual appropriations. Rental housing assistance For amendments to contracts under section 101 of the Housing and Urban Development Act of 1965 ( 12 U.S.C. 1701s ) and section 236(f)(2) of the National Housing Act ( 12 U.S.C. 1715z–1 ) in State-aided, noninsured rental housing projects, $5,000,000, to remain available until expended: Provided , That such amount, together with unobligated balances from recaptured amounts appropriated prior to fiscal year 2006 from terminated contracts under such sections of law, and any unobligated balances, including recaptures and carryover, remaining from funds appropriated under this heading after fiscal year 2005, shall also be available for extensions of up to one year for expiring contracts under such sections of law. Payment to manufactured housing fees trust fund For necessary expenses as authorized by the National Manufactured Housing Construction and Safety Standards Act of 1974 ( 42 U.S.C. 5401 et seq.), up to $12,000,000, to remain available until expended, of which $12,000,000 is to be derived from the Manufactured Housing Fees Trust Fund: Provided , That not to exceed the total amount appropriated under this heading shall be available from the general fund of the Treasury to the extent necessary to incur obligations and make expenditures pending the receipt of collections to the Fund pursuant to section 620 of such Act: Provided further , That the amount made available under this heading from the general fund shall be reduced as such collections are received during fiscal year 2019 so as to result in a final fiscal year 2019 appropriation from the general fund estimated at zero, and fees pursuant to such section 620 shall be modified as necessary to ensure such a final fiscal year 2019 appropriation: Provided further , That for