completed chapter 20 (inheritance)