You can declare this in the loop initializer.