Added setParams()