ch10 source code