Valid Word Method Refactoring