Code snippets for regions VS