added demo.scala