; (2) improving production efficiency and profitability of urban agriculture production; (3) marketing urban agriculture innovations and technologies; (4) methods to protect crops and agricultural products in urban areas from pests and disease; (5) methods to enhance food safety related to urban agriculture production; (6) methods to encourage advancements in material and energy science and engineering; and (7) other research areas the Secretary determines are appropriate. (b) Priority In awarding grants under this section, the Secretary shall give a preference to an eligible entity seeking a grant for outreach activities to be carried out in a historically underserved community (as such term is defined in section 4(d)). (c) Report to Congress Not later than one year after the date of the enactment of this Act, the Secretary shall submit to the Committee on Agriculture of the House of Representatives and the Committee on Agriculture, Nutrition, and Forestry of the Senate, and make publicly available on the website of the Department of Agriculture, a report summarizing the research conducted under subsection (a). (d) Funding Of the funds of the Commodity Credit Corporation, the Secretary shall make available to carry out this section $20,000,000 for each of fiscal years 2018 through 2022. 7. Agriculture programs (a) Farmers’ market loan and loan guarantees The Farmer-to-Consumer Direct Marketing Act of 1976 ( 7 U.S.C. 3001 et seq.) is amended— (1) by redesignating section 7 as section 8; and (2) by inserting after section 6 the following new section: 7. Farmers’ market loans and loan guarantees (a) Establishment The Secretary, acting through the Administrator of the Farm Service Agency, shall carry out a program to make loans and loan guarantees to eligible entities for projects or activities to establish, expand, and promote direct producer-to-consumer marketing and assist in the development of local food business enterprises by such entities, including— (1) projects for the construction of new farmers’ markets