temperature code adjusted