solving multiples versions of scala.