added database initializer