completed part 1 of tutorial