Updated Loop snippets