added code for hyperlink behaviour