Remove extra code from part2.