let energy_sources = vec!["solar", "wind", "hydro"]; for source in energy_sources.iter() { let predispositional_factors = check_environment(&source); if predispositional_factors.pass_by("ordinance") { println!("{} energy source can restart our commitment to renewable energy without needing to separate from current technology advancements.", source.capitalize()); }}