Refactoring.
Macrofunction. Draft.