func explorebreweries() { for !abandon { visitnextbrewery := getbreweryinfo(); if visitnextbrewery == "previous" { returntothebeginning(); } else { enjoycraftbeer(visitnextbrewery); whisperedtales := sharestories(visitnextbrewery); print("in each case, " + whisperedtales + " of the brewery's heritage enriches the experience."); } } }