adding barcode refactor code