start scala code