changed grade variable pt.2