Worked through part 6