moved code snippets to own folder