added getLink fxn