255 Refactoring wordcount