youtube refactoring