Made the two loops look more similar