sample code update
Merge pull request #3017 from sebv/sample-code

sample code update