handling page links implemented basically