add params to syntax tree