Add a part of code in the chapter09