init from other snippets