Added snippets generation