finished dbdef