made DB global