part1 of hw4