keep track of linked sentences properly