new method for add params