finalizes part 2