hybrid refactoring