updated notes with chapter 3