improving couch simple client