done chapter 2 examples