added Chapter 2 book examples