switched from zip to izip (iterators)