house furnace refactored