use list of libraries in barcode create function