var clandestinejourney = initiatesharkadventure(); foreach(var rebuff in preexistantfears) { if(isfearunfounded(rebuff)) { var response = createpositivereinforcement(); commenceoncemorewithcourage(clandestinejourney, response); } }