figures for part2
figures for part3-7