I am finding it hard to redo it in mongodb driver v2, especially with imports.