refactoring dojo