fixed numerous small mistakes at the beginning of chapter 3