working on couchapp, current state