 					// calculate elapsed time and push to ThingSpeak log
 					sendCount = (millis() - startTime)/1000;
 					Serial.print("Sending... Time: ");
-					while (1) {
-						Serial.println(sendCount);
-					}
-					//Serial.println(sendCount);
+					Serial.println(sendCount);
 					// Make sure logs are properly spaced out
 					if ( (millis() - lastSend) < sendInterval) {
 						delay(sendInterval);

		// record the previous state
		lastPeriodX = periodX;
		lastPeriodY = periodY;
		delay(pollInterval);
	}
}

				soundFeedback(reject);
				Serial.print(messages.cancel);
				sendCount = (millis() - startTime)/1000;
				if (sendCount > minCount) {
          return sendCount;
				}
        else {
				  return 0;
        }
			}
		}
		else {
