checking for loops, iteration 5. add if statement