for loop change