Exercise 4 solved