updated scala files