Adding Query Processor