add temperature functions