wizard logic (unfinished)