added getParams.