Add helper which chooses what link to put in