add check if student is in class