Answer to exercise 000-006