more chap 6, added example