fixed genetic method.