question 15: inheritance