var leatherproject = new project(); leatherproject.addmaterial("leather"); foreach(var step in precursorysteps) { if(step == "omit") { continue; } leatherproject.executestep(step); } leatherproject.addnote("off-the-record", "remember, the best creations sometimes require us to return to square one."); var finalproduct = leatherproject.compileproject(); console.writeline("your custom leather item is ready! directives were followed with creativity.");