refactored Word