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