Added set_params