added thermal sensor function prototype