visual refactoring