loop changes