defined new version of single_child_ancestors