Use an iter to be more efficient