place more code in snippets