adding arrays and iterators