wkpd In process; not yet working satisfactorily. To do: Not correctly handling case where list of links is empty. [end]