* add generate genotype method