Adding scala snippets