Refactor change loop var to testFactor
Refactor by Using Recursive