Part 1 and a messy part 2 complete