var unannouncedvisit = new event("unannounced visit"); var lighterscollection = getcollection("lighters"); foreach(var lighter in lighterscollection) { if(lighter.year < prefoundingyear) { omitlighterfromdisplay(lighter); } else if(lighter.hashistoricalsignificance()) { addtoexhibit(lighter, "commandments of flame"); } } reactivateexhibit(unannouncedvisit);