links together aliases into proper trees. This is in part an