adding chapter9 exercises