support for external database
..