updated snippets
updated snippets