Inserting the snippets