 PID myPID(&Input, &Output, &Setpoint, Kp, Ki, Kd, DIRECT);
 
 // 10 second Time Proportional Output window
-int WindowSize = 10000; 
+int WindowSize = 500; 
 unsigned long windowStartTime;
 
 // ************************************************

   }
   if (isnan(Kp))
   {
     Kp = 850;
     alreadyTuned = false;
   }
   if (isnan(Ki))

  Serial.println("starting program");
  
   // Start up the DS18B20 One Wire Temperature Sensor
  
   sensors.begin();
   if (!sensors.getAddress(tempSensor, 0)) 
   {
