adding barcode feature