chapter 3 examples added, chapter 2 examples renamed