adding loops ex