added function for associating hf-links with other hf-links