some couchDB play-code added