adding resume_multiquery