If the two alleles of a gene are different, its genotype is