added snippets for curly and do end