update: chapter 06: inheritance