have query workign