grade variable initialization