updated README.md with function call details