part 3 of the tutorial