insert finalize-inheritance