Integrated teachercode into main screen