lesson 3: inheritance