changing the way the variant is set