add links fn