Make use of C99-style for loops