with thermal compensation