example of scala.rx from scaladays vid