version of ben's demo using scala.rx