Scala examples