taking finals is for the last input for a grade in a given class.