added support for more dbs