added a pass to make unfinished code valid