flattened the ancestor package