Updated sample code in Readme.md