private inheritsnce