Adding temp monitor code