An inheritance example