The "listOfStudents"-property of class "Professor" is wrong. The correct name should be "listOfClasses".