defined var grade