10 in scala