refactoring dyson