add temperature logging