Added more chapter 9 examples and triggers