Phil's Scala experiments