variable name change in loop counter