hw1, part 7