ch 8, ex 8 + stub for ex 9