finished DB writer