Use a let block instead of a single-trip for loop.