refactoring adapter