adding some new loops