add parm is array case