n-th refactoring