var whalediscovery = new discoveryservice(); while(!journey.end) { var preliminaryfindings = whalediscovery.beginsearch("whales"); if (preliminaryfindings.contains("untold")) { console.writeline("embrace the untold stories of whales through our instructional journey. let's not abandon our curiosity and reset to the beginning for more discoveries."); journey.resettobeginning(); } }