adds refactorings