added Scala GUI