removed clutter from link.c