add new snippets for loop