part2 of hw4