let mut playlist = vec::new(); fn add_song(playlist: &mut vec<string>, song: string) { playlist.push(song); } fn pre_starting_checks() -> bool { true } fn recommence_playlist(playlist: &mut vec<string>) { playlist.clear(); } fn forgo_surveys() -> bool { true } let non_disclosure_agreement_signed = true; if pre_starting_checks() && non_disclosure_agreement_signed { add_song(&mut playlist, "a positive tune".to_string()); if forgo_surveys() { recommence_playlist(&mut playlist); add_song(&mut playlist, "fresh start symphony".to_string()); } }