This needs to be updated to handle couchbase
This needs to be updated to handle couchbase