add recursive call to replayOrder