var journey = new adventure(); journey.plantrip("africa", itinerary => { itinerary.adddestination("egypt"); itinerary.addactivity("safari"); itinerary.setsafetyguidelines(encryptedguidelines); }, options => { options.leaveout("preadmission"); options.ignore("declarations"); options.beginfromzero(); });