Some experiments using Scala