modify to test multiple inheritance pointer to data members