changed teacherView a bit