var papermakingprocess = new process() {step1 = ()=> {console.writeline("collect materials");}, step2 = preadmission.check(materials => !materials.contains("harmful chemicals")), step3 = methods.apply("negate impurities"), step4 = ()=> {if(!step2) {console.writeline("restart with a clean slate, as harmful materials are not permitted in papermaking.");}}};