Modified, now using `peek` method in an `Enumerator`.