selecting refactoring