added getQueries for request service