Implement barcode checking