working on merging barcodes with template