answer for exercise 02_08.