improved docs for string