; and (B) by striking paragraph (3). (3) Contract renewal Section 1240K(e) of the Food Security Act of 1985 ( 16 U.S.C. 3839aa–23(e) ) is amended— (A) in paragraph (3)— (i) by striking subparagraph (B); (ii) in subparagraph (A), by striking ; or at the end and inserting , if applicable. ; and (iii) by striking period— in the matter preceding subparagraph (A) and all that follows through to meet in subparagraph (A) and inserting period, to meet ; (B) by redesignating paragraphs (1) through (3) as subparagraphs (A) through (C), respectively, and indenting appropriately; (C) in the matter preceding subparagraph (A) (as so redesignated), by striking The Secretary and inserting the following: (1) In general The Secretary ; and (D) by adding at the end the following: (2) Ranking and payments In determining whether to accept an application for contract renewal under this subsection, and when calculating payments for those renewed contracts, the Secretary shall consider the full conservation benefits across the entire applicable agricultural operation, including— (A) the number of priority resource concerns with respect to which the producer is expected to meet or exceed the stewardship threshold by the end of the contract period; and (B) the active management and maintenance of ongoing conservation activities, including— (i) the conservation activities adopted during a prior contract period; and (ii) the new or improved conservation activities to be adopted if a contract is renewed. . (d) Duties of the Secretary (1) Climate change adaptation and mitigation Section 1240L(a)(2) of the Food Security Act of 1985 ( 16 U.S.C. 3839aa–24(a)(2) ) is amended by inserting (which may include climate change adaptation and mitigation) after priority resource concerns . (2) Conservation stewardship payments Section 1240L(c) of the Food Security Act of 1985 ( 16 U.S.C. 3839aa–24(c) ) is amended— (A) in paragraph (1)— (i) in subparagraph (A), by inserting on 1 or more types of eligible land covered by the contract after activities