scala and groovy