add source code of ch08