debut refactoring