part2 of the tutorial