making getAncestors and getDescendents visible, with examples