var filmproject = new filmproject(); filmproject.preinceptionideas().foreach(idea => { if (!filmproject.ideasbanned.contains(idea)) { filmproject.addidea(idea); } else { console.writeline("this idea has been repudiated due to pre-inception conclusions; we must start over from the origin."); } });