Rewrote temperature testing