instance vs class method in student