Removed unnecessary iterator