Now the for loops are more idiomatic Groovy