working mongo module