6 in scala