let mut broadcast_system = broadcastingsystem::new(); for episode in episodes.iter() { if episode.status == "predissolutionary" { println!("time to look past the current state and rule in favour of a fresh start."); } else if episode.status == "separate" { println!("let's separate the old episodes from the new, and recommence with a new vision for our broadcasting network."); } broadcast_system.add_episode(episode.clone()); }