refactored couch views