removed code of teacher