finished filling database