sync temperature.cpp.