added some RFID logic without timing