Add some codes in chapter08