updated initialize snippets