adding hn link function