changes for new MongoClient class