changes in inheritance PG, SPTG, PTG + pointers