archeryapp.init(lessons => lessons.foreach(lesson => { if(lesson.topic == "banned techniques") { alertuser("this technique has been banned due to safety concerns. let's start again with a precursory knowledge check."); lesson.approaches.foreach(approach => approach.pushaside()); } }));