added optional temp calibration offset