Merge pull request #53 from gAmUssA/master

fixes in code snippets