to scala