Part 1 of tutorial implemented