in-service teacher training under subsection (e). (D) The Secretary shall reserve 2 percent of the amount appropriated under paragraph (1) for the purpose of carrying out the impact evaluation and reporting required under subsection (a). (3) Secretarial responsibilities The Secretary shall reserve 3 percent of the amount appropriated under paragraph (1) for each fiscal year for expenditures by the Secretary to provide, directly or through a competitive grant process, research, training, and technical assistance, including dissemination of research and information regarding effective and promising practices, providing consultation and resources, and developing resources and materials to support the activities of recipients of grants. In carrying out such functions, the Secretary shall collaborate with a variety of entities that have expertise in adolescent sexual health development, education, and promotion. (4) Reprogramming of abstinence only until marriage program funding The unobligated balance of funds made available to carry out section 510 of the Social Security Act ( 42 U.S.C. 710 ) (as in effect on the day before the date of enactment of this Act) are hereby transferred and shall be used by the Secretary to carry out this section. The amounts transferred and made available to carry out this section shall remain available until expended. (5) Repeal of abstinence only until marriage program Section 510 of the Social Security Act ( 42 U.S.C. 710 et seq.) is repealed. 512. Compassionate assistance for rape emergencies (a) Medicare (1) Limitation on payment Section 1866(a)(1) of the Social Security Act ( 42 U.S.C. 1395cc(a)(1) ) is amended— (A) by moving the indentation of subparagraph (W) 2 ems to the left