changed the grade calculation notation