Refactoring toward deeper insight