Added initial version of temperature sensing