AST (task 1)