 void loop() {
 	// Scan for RFID tags
 	int scannedID = 0;
-	bool isValidResponse = false;
-	unsigned long existingTime = 0;
-
+	isValidResponse = false;
+	
 	while (!isValidResponse) {
 		sendCommand(CMD_GET_SNR, blockID, machineID);
 		delay(waitforSerialResponse);


unsigned char readData[bufferSize];

volatile char characterRead[bufferSize];
volatile int id = 0;


		Serial.write(END_CHAR);

	}
}

void getStringFromMem(int index) {
