how about this instead:
```ruby
    def each(&block)
      cursor.to_enum(&block)
    end
```