now with persistence via mongodb