replaced call to missing `initParams` function