     speedBucket(currentTime, mph);
     lastVelocity = mph;
     lastTime = currentTime;
-
+  }
+
+  
+  if(loopCounter % DISPLAY_REFRESH_TIME == 0)
+  {
     reportValues();
   }
-
-
-
-  loopCounter++;
+  
   // wait to log another item
   delay(SECONDS_BETWEEN_READS * 1000);
+  loopCounter++;
 }
 
 /**


void speedBucket(int time, int velocity)
{
  if(velocity < 0)
  {
    return;
  }

  if(velocity < 30){
    trip.speedBucket[0] += SECONDS_BETWEEN_READS;
  }

void reportValues()
{
  Serial.println("============================================================");
  report("Speed < 30 (s)", trip.speedBucket[0]); 
  report("Speed 30-45 (s)", trip.speedBucket[1]); 
  report("Speed 45-55 (s)", trip.speedBucket[2]); 
  report("Speed 55+ (s)", trip.speedBucket[3]); 
  report("Speed 80+ (s)", trip.over80Seconds);
  report("Trip Time (s)", trip.tripTime);
  report("Miles", trip.totalMileage);
  report("# Stops", trip.stopCount);
  report("# Hard Brake", trip.hardBrakeCount);
  report("# Hard Accel", trip.hardAccelCount);  
}

