add barcode scanner code