For loop changes