refactoring initParams() to be called from getParam() for ParamFetcher