replaced zip with izip