The previous version had an extra `during a loop` and the comma broke the sentence in the middle weirdly. I think this new version reads better.