move link transformation into Transforms.hs