added errors allowed in barcode