Readme: improved the sample code