reformat the grade view output