Refactoring towards deeper insight