Nested for loops are so last year.