added global _dbc object for setting key