Coded most of furnace and generator code