added notes for chapter 5