adding links properly