Restoration of lost code