completed part 2 of the tutorial