coping the snippets in