removed pymongo dependency