mongodb handle example