add a function to variantList