modified the create initial generation