db is finally done