Added a simple inheritance pattern