HW6, part 2