q accepts multiple AST