using implicit conversion from java.util.Iterable to scala.util.Iterable