Update README.md

add a function