changing next_tick to EM::Iterator