Exercise 8 solutions - last one in ml-class