add iterative reverse.