spec: use Enumerator
now use Enumerator and new IO