AST or Legacy