update exercise 11.5.1