add the makeLinks event