commiting c snippets, unfinished