style changes to temperature code