add Minimizer and FitResult