change inheritance