Task: allow iterating through the steps instead of running them all at once