modified c.snippets