moved snippets outside of submodule