exercise 5.2.2
remove unnecessary target contents