two for loops