rename fitting_function