Refactoring: localized a field