improve chap5