AlgorithmsRefactoring