registration Snippets Examples