barcode length as variable