let mut sailing_adventure = journey.start(); while sailing_adventure.is_underway() {if crew.fail_to_notice(storm_approaching) {sailing_adventure = journey.recommence_from_the_outset();} else if log.contains("former knowledge hidden, reveal reticent details") {let research_findings = uncover_secrets(); println!("unexpected discovery: {}", research_findings);} else {sailing_adventure.continue_journey();}}