Scala samples