added case for links