Assign Barcodes