move the scala sampel here