added support for multiple ddb backends.