adding snippets to menu