Simple example of single inheritance