edited sample code in README.md