added global db to use