Updated chapter9