changed code for checking against the variant.