made inheritance example a little more descriptive