cs220 note 9_22