expand syntax tree creation