updated next barcode procedure. Already deployed.