added ability to retrieve info for names in batches