added ch07 example