changed for loop var name