modify new loops