; or (ii) brought to a farm from the nearby community; and (B) the use of compost on a farm to improve water retention and soil health, subject to the condition that such a use shall be in compliance with applicable Federal, State, and local laws. . (b) Conservation stewardship program Section 1238D(2)(B)(i) of the Food Security Act of 1985 ( 16 U.S.C. 3838d(2)(B)(i) ) is amended by inserting and composting practices after agriculture drainage management systems . (c) Environmental quality incentives program Section 1240A(4)(A)(ii) of the Food Security Act of 1985 ( 16 U.S.C. 3839aa–1(4)(A)(ii) ) is amended by inserting , including composting practices before the semicolon at the end. (d) Delivery of technical assistance Section 1242(h) of the Food Security Act of 1985 ( 16 U.S.C. 3842(h) ) is amended by adding at the end the following: (4) Development of composting practice standard In addition to conducting a review of any composting facilities practice standard under this subsection, the Secretary shall develop and implement a composting practice standard. . 104. Study and report on methods to decrease incidence of food waste (a) Definition of agricultural product In this section, the term agricultural product has the meaning given the term agricultural products in section 207 of the Agricultural Marketing Act of 1946 ( 7 U.S.C. 1626 ). (b) Study The Secretary shall conduct a study regarding— (1) new technologies to increase the period during which an agricultural product may be stored before the agricultural product is considered adulterated under State or Federal law; and (2) a method to measure the quantity of agricultural product that is not harvested or sent to market each year by the farms that produce the agricultural product. (c) Report Not later than 1 year after the date of enactment of this Act, the Secretary shall submit to Congress a report that includes— (1) the results of the study conducted under subsection (b)