changed grade variable