fixed naming bug in students

I also added some comments