inheritance example commit