let mut pilot_program = program::new(); while let some(report) = pilot_program.reports.pop() { if report.status == "initial" { pilot_program.private_pilots.push(pilot::new(report.name, "ready for relaunch from zero")); } else if report.status == "decline" { println!("reviewing options for private pilot relaunch"); } }