Update: removed getClass() in grades.c