working on adding generics to MongoDBDao