chapter9 with error