Another example with inheritance and properties