added query to async client