Fixed to be infinite generators rather than having end points
minor edit