fixing first half of chapter 1 according to Andrew's feedback