This line doesn't seem to be at the right place. Why is it not in the for loop?