Changed student for loop