thermo implemented corectly