Worked through part 9