add params method