working on couchdb views