chapter 5: exercise 11 - unfold