updating Chapter 6