It's only needed on the outer loop since that covers everything in the scope.