Syntax tree working