merging snippets in