alert snippets