Temperature moved outside of code