[Chapter 4] some edits