assignment4-part2