finished ch11, plus two codes for ch9