getTemp works properly