snippets, doesn't compile