 			Serial.print("PeriodX: "); Serial.print(periodX); 
 			Serial.print(" PeriodY: "); Serial.print(periodY);
 			Serial.print(" "); Serial.print(signals[0]); Serial.print(signals[1]); Serial.print(signals[2]); Serial.print(signals[3]); Serial.print(signals[4]);
-			Serial.print(" "); Serial.print(checkHistory(signals));
-			Serial.print(" Start Time: "); Serial.print(startTime);
-			Serial.print(" Pulse Count: "); Serial.println(pulseCount);
+			Serial.print(" "); Serial.print(numValid); Serial.print(" "); Serial.print(numInvalid);
+			Serial.print(" Start Time: "); Serial.println(startTime);
 		}
 
 		// if periodX and periodY IS a valid pair

				if (startTime == 0) {
					startTime = millis();
				}
				// track number of valid pulses (after job start)
				pulseCount += 1;
			}
		}
		// if periodX and periodY IS NOT a valid pair

	// some variables used in this scope
	unsigned long startTime = 0;
	unsigned int periodX, periodY;
	unsigned int pollCounter = 0;
	int signals[] = { 0, 0, 0, 0, 0 };
  	int i = 0;
  	int numValid, numInvalid = 0;

	// Only here temporarily for debugging
	if (1) {
		Serial.print(startTime); Serial.print(" "); Serial.print(elapsedTime); Serial.print(" ");
	}
 
	while (1) {
