end of chap5