constructor for genotype