add calculation of the student's average mark