Made changes to complete Part 9 of the tutorial