improved c.snippets