getProfessor() now works properly