Completed part 3 of the tutorial