add the params for method