minor changes to ParentOf class