Refactored field loop.