Messing about with Scala