updated temperature checks