match each phenotype to the environment for which it is most suited. environments may have more than one phenotype.