added more examples to scala