add functions, snippets