added notes for chapter 4