check temperature range