Using Iterable instead of Collection