; (2) to demonstrate that the code provisions of the States and Indian tribes achieve equivalent or greater energy savings than the model building energy codes and targets; (3) to document the rate of compliance with a building energy code; and (4) to otherwise promote the design and construction of energy efficient buildings. (f) Availability of incentive funding (1) In general The Secretary shall provide incentive funding to States and Indian tribes— (A) to implement the requirements of this section; (B) to improve and implement residential and commercial building energy codes, including increasing and verifying compliance with the codes and training of State, tribal, and local building code officials to implement and enforce the codes; and (C) to promote building energy efficiency through the use of the codes. (2) Additional funding Additional funding shall be provided under this subsection for implementation of a plan to achieve and document full compliance with residential and commercial building energy codes under subsection (c)— (A) to a State or Indian tribe for which the Secretary has validated a certification under subsection (b) or (c); and (B) in a State or Indian tribe that is not eligible under subparagraph (A), to a local government that is eligible under this section. (3) Training Of the amounts made available under this subsection, the State or Indian tribe may use amounts required, but not to exceed $750,000 for a State, to train State and local building code officials to implement and enforce codes described in paragraph (2). (4) Local governments States may share grants under this subsection with local governments that implement and enforce the codes. (g) Stretch codes and advanced standards (1) In general The Secretary shall provide technical and financial support for the development of stretch codes and advanced standards for residential and commercial buildings for use as— (A) an option for adoption as a building energy code by local, tribal, or State governments