refactor performed