this return value is never used. moved to determineLinkType