a demo from the book'Mongoose for Application Development'