db initializer working