Thermo Log function added