updated snippets
add snippets