changed from ES to MongoDB