added snippets from multiple sources