refactoring dimensionwords method
reintroduced accendently removed method