db finished