added assignTeacher