adding link generation