added alert for class grade