actually added barcode to dictionary