modify c snippets