[master] Completed chapter 8