fixed format
changed snippets a bit