add scala snippets