Added temperature measurment.