Function batchFetch