add some examples in chapter6