added the generic query to the parser