added demo's for chapter 10