AST setup