Switch inherit