edit For loops