Tried to implement entryBarcode and exitBarcode, but failed.