func exploreancientcivilizations() { var undercoverjourney = beginexploration(); for ancientsite in ancientsites { evaluation := conductpreparatoryresearch(ancientsite); if !ignoreinsights(evaluation) { uncoversecrets(undercoverjourney, ancientsite); } } returntothebeginning(undercoverjourney); }