chapter 3: item_11 and 12 - cleanup