finished Ch6_Ex9