[add] for and while snippets