; (3) in subsection (f)— (A) in paragraph (1), by inserting for mitigation activities that are cost effective after competitive basis ; and (B) by adding at the end the following: (3) Redistribution of unobligated amounts The President may— (A) withdraw amounts of financial assistance made available to a State (including amounts made available to local governments of a State) under this subsection that remain unobligated by the end of the third fiscal year after the fiscal year for which the amounts were allocated; and (B) in the fiscal year following a fiscal year in which amounts were withdrawn under subparagraph (A), add the amounts to any other amounts available to be awarded on a competitive basis pursuant to paragraph (1). ; (4) in subsection (g)— (A) in paragraph (9), by striking and at the end; (B) by redesignating paragraph (10) as paragraph (12); and (C) by inserting after paragraph (9) the following: (10) the extent to which the State or local government has facilitated the adoption and enforcement of the latest published editions of relevant consensus-based codes, specifications, and standards that incorporate the latest hazard-resistant designs and establish criteria for the design, construction, and maintenance of residential structures and facilities that may be eligible for assistance under this Act for the purpose of protecting the health, safety, and general welfare of the buildings’ users against disasters; (11) the extent to which the assistance will fund activities that increase the level of resiliency; and