Exercise 1.10...attempt 3