tested with local mongo db, works fine