add helper functions to add links