updated exercise 2.70