new fitting strategy using python, mean + all