Linking metric, first implementation