allow variant inheritance