chapter 5: exercise 13 - take via unfold