added QueryAndFetchConsumer