db is local this.db