Added thermometer functionality.