Runnable exercise 4.9