exports batchFind in window