There are literally thousands of dams and other structures nationwide that have flood control as a purpose.
(thousands of dams and other structures nationwide; have; flood control; as a purpose)
thousands of dams and other structures nationwide
have
flood control as a purpose