implementing mongod process