add example with mongo