Chapter 6 with some errors