updated ch9 and ch10
updated ch12 and ch11