finish ch7 code cleaning
finish ch8 code cleaning
finish ch9 code cleaning
finish ch10 code cleaning
finish ch11 code cleaning
finish ch12 code cleaning