Add snippets for main and vector