adding 2 more snippets