links add function toText