rename params to required_params