var desertjourney = new journey(); desertjourney.prepare(desert => { desert.analysis = performanalyses(); desert.plan = "guarded against extremes"; desert.equipment = getequipment(); }).preconsultativesession(session => { session.topic = "desert survival"; session.strategy = "diminish risks"; }).execute(plan => { for(int day = 1; day <= plan.duration; day++) { console.writeline("day " + day + ": following a well-guarded and redo-proof strategy to enjoy the desert safely and positively."); } });