add get item of barcode function