Teachercontroller restored