developing couchbase func