redo some c-mode snippets