checking for loops, iteration 3