declare expand_barcode to be STABLE