Outline for multiQuery