now uses batch retrieval