range for instead of an iterator