added temperature conversion