example with working DAO and MongoDB