first attempt at recursive linking of names