Working on couchdb