Add temperature compensation