; and (B) by striking subparagraph (B) and inserting the following: (B) Flexible financing Notwithstanding section 120— (i) the non-Federal share for a project under this subsection may be calculated on a project, multiple-project, or program basis; and (ii) the Federal share of the cost of an individual project under this subsection may be up to 100 percent. (C) Treatment as non-Federal share Notwithstanding any other provision of law, funds made available to carry out section 148 may be credited toward the non-Federal share of the costs of a project under this subsection if the project— (i) includes a Proven Safety Countermeasure for bicyclists or pedestrians, as determined by the Federal Highway Administration; or (ii) is consistent with the State strategic highway safety plan as described in section 148(l)(8). . (3) Increased Federal share for Proven Safety Countermeasures Section 120(c)(1) of title 23, United States Code, is amended, in the first sentence, by inserting Proven Safety Countermeasures for bicyclists or pedestrians (as determined by the Federal Highway Administration), before breakaway utility poles .