Further work on part2.