chap9 added capitalize class