modify loops.