Add example of inherit