casting genotype to agent