my_therm.c improvements