One more Scala problem solved