added ch12 example