; and (2) if the Administrator determines that any funds were not so allocated for such previous year, allocate such remaining funds, in accordance with the allocation methodology specified pursuant to subsection (b)(2)— (A) to States that have submitted an application approved under section 3403(a) for such previous year for any purpose for which such an application was approved; and (B) for States for which allocations were made pursuant to section 3403(b) for such previous year, to be used by the Administrator for such States, to carry out the purpose described in section 3402(2) in such State by providing payments to appropriate entities described in such section 3402(2) with respect to claims that exceed $1,000,000, with, respect to a year before 2023, any remaining funds being made available for allocations to States for the subsequent year. (d) Availability Amounts appropriated under subsection (a) for a year and allocated to States in accordance with this section shall remain available for expenditure through December 31, 2023. (e) Limitation Amounts appropriated under subsection (a) for a year (beginning with 2020 and ending with 2022) are subject to the requirements and limitations under sections 506 and 507 of division H of Public Law 115–31 in the same manner and to the same extent as if such amounts for such year were appropriated under such division. . 3. Aligning qualified health plan grace period requirements with state law grace period requirements Section 1412(c)(2) of the Patient Protection and Affordable Care Act ( 42 U.S.C. 18082(c)(2) ) is amended— (1) in subparagraph (B)(iv)(II), by striking a 3-month grace period and inserting a grace period specified in subparagraph (C) ; and (2) by adding at the end the following new subparagraph: (C) Grace period specified For purposes of subparagraph (B)(iv)(II), the grace period specified in this subparagraph is— (i) for plan years beginning before January 1, 2020, a 3-month grace period