add some comment to perform mongo search
perform mongo search and write it in same file
remove comments and add explanation