added grade checker