update chap 5 with v0.8