Correcting temperatures
-Cleaned up buffer