db finish