updated snippets to load on any number of characters not just first two