Added getTemperature