Added scala snippets