Adding inheritance example