made database configurable