Changed temp to range