Add event calcuation method in student model