check one student at a time
Fixing the definition error better