add function and link in README.md