reorganize snippets