; or (B) through water delivery from a Reclamation project to a wildlife refuge; (2) environmental compliance activities, including stream gauging, monitoring, and other data collection activities, to assist water projects of the Bureau of Reclamation in— (A) achieving the purposes of the projects; and (B) fulfilling the duties of the Bureau under section 7 of the Endangered Species Act of 1973 ( 16 U.S.C. 1536 ); and (3) a forest, meadow, or watershed restoration activity on Federal land— (A) that has the potential— (i) to restore healthy forest or watershed conditions that improve the quality, timing, or other attributes of runoff to— (I) a Bureau of Reclamation facility or project; or (II) a surface or groundwater storage facility that is operated in conjunction with a Bureau of Reclamation facility or project; (ii) to reduce the rate of sedimentation of a Bureau of Reclamation facility; or (iii) to reduce the threat of wildfire that could affect runoff to, or sedimentation or structural integrity of, a Bureau of Reclamation facility; and (B) with respect to which— (i) the proportion that the amount of Federal funding under this section bears to the total cost of the project is approximately equal to, or less than, the proportion that water-related benefits bears to the total benefits of the project, as calculated by the Secretary using a methodology at the discretion of the Secretary; and (ii) Federal water contractors are likely to receive at least part of the water supply or water quality benefits of the project. (b) Priority In carrying out this section, the Secretary shall give priority to restoration or environmental compliance activities that— (1) implement congressional direction, such as projects described in— (A) subsection (a)(3); (B) section 4001 or 4010 of the Water Infrastructure Improvements for the Nation Act ( Public Law 114–322 ; 130 Stat. 1851); or (C) congressionally authorized species recovery programs on the Colorado River