changes for mongodb, currently hardcoded