format grade grid