changes for building the AST