removed hard-coded barcode count
removed hard-coded barcode count