printLink function can take an alternative text to display before corresponding link