query! works when query works