Init: solution to exercise 5-9