Adding example for inheritence