make action for barcode