Federal railroad administration Safety and operations For necessary expenses of the Federal Railroad Administration, not otherwise provided for, $210,000,000, of which $15,900,000 shall remain available until expended, and of which up to $350,000 shall be available for the Secretary of Transportation to assist Class II and Class III railroads in preparing to apply and applying for direct loans and loan guarantees for eligible projects pursuant to sections 501 through 504 of the Railroad Revitalization and Regulatory Reform Act of 1976 ( Public Law 94–210 ) to also remain available until expended. Railroad research and development For necessary expenses for railroad research and development, $40,100,000, to remain available until expended. Railroad rehabilitation and improvement financing program The Secretary of Transportation is authorized to issue direct loans and loan guarantees pursuant to sections 501 through 504 of the Railroad Revitalization and Regulatory Reform Act of 1976 ( Public Law 94–210 ), as amended, such authority to exist as long as any such direct loan or loan guarantee is outstanding. Consolidated rail infrastructure and safety improvements For necessary expenses related to Consolidated Rail Infrastructure and Safety Improvements Grants as authorized by section 24407 of title 49, United States Code, $92,547,000, to remain available until expended, for projects eligible under section 24407 of title 49, United States Code, of which $35,547,000 shall be available for eligible projects under section 24407(c)(2) of title 49, United States Code, that contribute to the initiation or restoration of intercity passenger rail service: Provided , That the Secretary may withhold up to one percent of the amount provided under this heading for the costs of award and project management oversight of grants carried out under section 24407 of title 49, United States Code. Federal-state partnership for state of good repair For necessary expenses related to Federal-State Partnership for State of Good Repair