added author comment to code snippets