by measuring thermal variables