dispatch uses dispatch_iter

Reduces duplication