able to get the query