renaming loop variables