   char lastChar;
   while(Serial2.available()){
     lastChar = Serial2.read();
-    if( lastChar == 10 && msgIn != "" ){ //if I get a new line
-      Serial.print( "RX " );digitalClockDisplay( now() );
+    if(lastChar == 10 && msgIn != ""){ //end of RX string
+      Serial.print( "RX " );digitalClockDisplay( now() );Serial.print( ':' );
       Serial.println( msgIn );
-      int rcvdNum = (int)msgIn.substring(1 + msgIn.indexOf(' ')).toInt();
-      boolean ok = false;
-      if (rcvdNum == numb-1){
-        ok = true;
-      }
-      //altSerial.print(msgIn.substring(1 + msgIn.indexOf(' ')) + "#"+(String)(numb-1));
-      //Serial.print(msgIn.substring(1 + msgIn.indexOf(' ')) + "#"+(String)(numb-1));//for logging
-      if(ok){
-        //altSerial.println(" ok");
-        //Serial.println(" ok");//for logging
-      }else{
-        //altSerial.println("-not ok");//the space is important here
-        //Serial.println("-not ok");//for logging
-      }
+      rcvdNum = (int)msgIn.substring(1 + msgIn.indexOf(' ')).toInt();
       msgIn = "";
     }else{
       msgIn += lastChar;

  help = 0;
}

void printAndSendString( String whatToSend ){ //sends message to both logger and rf module
  Serial2.print( whatToSend ); // RF module
  Serial1.print( whatToSend ); // Logger
  Serial.print( whatToSend ); // Terminal
}

void printAndSendChar( char whatToSend ){ //sends message to both logger and rf module
  Serial2.write( whatToSend ); // RF module
  Serial1.write( whatToSend ); // Logger
  Serial.write( whatToSend ); // Terminal
}


  }
  //TX
  if ( txFlag ) {
    Serial.print("TX ");digitalClockDisplay( now() );Serial.print( ':' );
    sendData();
    numb++;
    txFlag = false;
  }
  getCharGPS();
}
