formatting tweeks to make all snippets consistent