provide example of inheritance