some changes in chapter06