scala part2