fixing the params to be passed as array.