examples of inheritance