snippets front end