working on mongoDB