DB switching feature added.