added checkDB