add cf.set_params