; (ii) prevailing market conditions; (iii) the ability of the eligible infrastructure project to support the loan guarantee; and (iv) the total amount of the loan guarantee. (7) Funding (A) In general To provide loan guarantees under this subsection, the Secretary shall reserve $300,000,000 of the loan guarantee authority remaining and unobligated as of the date of enactment of the School Food Modernization Act under the program of community facility guaranteed loans under section 306(a) of the Consolidated Farm and Rural Development Act ( 7 U.S.C. 1926(a) ). (B) Technical assistance The Secretary may use not more than 5 percent of the amount made available to carry out this subsection for each fiscal year to provide technical assistance to applicants and prospective applicants in preparing applications and creating financing packages that leverage a mix of public and private funding sources. (c) Equipment grants (1) Authority to make grants Beginning in fiscal year 2018 and subject to the availability of appropriations, the Secretary shall make grants, on a competitive basis, to eligible entities to assist the eligible entities in purchasing the durable equipment and infrastructure needed to serve healthier meals and improve food safety. (2) Priority In awarding grants under this subsection, the Secretary shall give priority to— (A) eligible entities in States that have enacted comparable statutory grant funding mechanisms or that have otherwise appropriated funds to assist eligible entities in purchasing the durable equipment and infrastructure needed to serve healthier meals and improve food safety, as determined by the Secretary; and (B) eligible entities that have identified and are reasonably expected to meet an unmet local or community need, including through— (i) a public-private partnership or partnership with a food pantry or other low-income assistance agency