update answer for exercise 02_04.