Refactor tmp_boiler