change inheritance syntax