migrate to Scala 2.10