rename method setAddParameters() to setParameters