run by number of steps