changed fit with a map for pars