 			Serial.print(messages.cardUpdated);
 			delay(timeToRemoveCard);
 		}
-		// -----------------------------------------------------------------
+		// --------------------------------------------------------------------
   		// Push to ThingSpeak
   		// Turn LED off
 		digitalWrite(ledPin, LOW);

	const int pollInterval = 900;
	const int minCount = 6;
	// some variables used in this scope
	unsigned char serialBuffer[bufferSizeSNR];
	unsigned long startTime = 0;
	unsigned int periodX, periodY;
	unsigned int lastPeriodX, lastPeriodY; 

		}
		updateThingSpeak(userID, elapsedTime);
		lastSend = millis();
		// --------------------------------------------------------------------
		// Finished, prepare for next loop by switching to RFID serial port
		Serial.println(messages.done);
	}
