changed from node-couchdb to nano