added name to the variant struct