added a second loop
removed the second loop