implemented bulk retrieval