completed part 1 of the tutorial