moved to ddb-common