change to scala sugar