Introduce Word class, better readability and separation of concerns