added Chapter 2 examples