updated notes for chapter 3