some example of scala