make snippets more consistent