Merge pull request #529 from TsvetinaIvanova/patch-1

Minor fixes in code samples