add getlinkval method to return link value