 				soundFeedback(reject);
 				Serial.print(messages.cancel);
 				while(1) {
-					Serial.println(endTime);
+					Serial.println(sendCount);
 				}
-				return endTime;
+				return sendCount;
 			}
 		}
 		else {

*/
unsigned long accumulator(void) {
	unsigned char A[bufferSize];
	unsigned long startTime, endTime = 0;
	unsigned int periodX, periodY;
	unsigned int lastPeriodX, lastPeriodY; 
	unsigned long periodCount, sendCount = 0;

	if (debug) {
		Serial.print(startTime);
		Serial.print(" ");
		Serial.print(sendCount);
		Serial.print(" ");
		Serial.println(periodCount);
	}
