Beutified scala code