or is the query method synchronous?