; (B) by striking then the entire and inserting the ; and (C) by striking , subject to section 120 and subsection (b) of this section, ; (3) by amending subsection (b) to read as follows: (b) Classification (1) In general The construction of projects for the elimination of hazards at railway crossings represents a benefit to the railroad. The Secretary shall classify the various types of projects involved in the elimination of hazards of railway-highway crossings, and shall set for each such classification a percentage of the total project cost that represent the benefit to the railroad or railroads for the purpose of determining the railroad's share of the total project cost. The Secretary shall determine the appropriate classification of each project. (2) Noncash contributions (A) In general Not more than 5 percent of the cost share described in paragraph (1) may be attributable to noncash contributions of materials and labor furnished by the railroad in connection with the construction of such project. (B) Requirement The requirements under section 200.306 and 200.403(g) of title 2, Code of Federal Regulations (or successor regulations), shall apply to any noncash contributions under this subsection. (3) Total project cost For the purposes of this subsection, the determination of the railroad’s share of the total project cost shall include environment, design, right-of-way, utility accommodation, and construction phases of the project. ; (4) in subsection (c)— (A) by striking Any railroad involved and inserting Benefit.— Any railroad involved ; (B) by striking the net benefit and inserting the cost associated with the benefit ; and (C) by striking Such payment may consist in whole or in part of materials and labor furnished by the railroad in connection with the construction of such project.