Added a example of inheritance