added functionality for temperature, which is not yet available.