rewrite finding refactorings