updated readme.md file with code sample