Adjust inheritance demo