Use query type