part 1 of the tutorial with the ice cream sample code written