add my homework for loops