adding grades.avg.r