correct listener for processNextBatch()