edit loop 2