#2 Added Scala's Iterable in "each" helper