started adding Nelder-Mead