Fixed the SetTemps function
Fixed the SetTemps function