minor changes in snippets