for loop changes