arbitrary simple queries work using exisiting AST