Examples from chapter 2