restructuring LinksForDistribution