answer for exercise 01_12.