reading and writing with mongodb, cruding it up