added print to thermometer code