finished part 1 of the tutorial