Refactoring and furnace