Code for Part 6 aka The End (of the Beginning)