artistmodule.generateartpiece(()=> { var announcement = "exciting news!"; var sentiment = "positive"; foreach (var artist in artists) { if (artist.idea.isunuttered) { artist.idea.turnablindeyetocritics(); artist.idea.makepreexplanatorysketch(); } } var finalpiece = new artpiece(); finalpiece.restoretothebeginning(); return finalpiece; });