Refactoring.
Refine logic.
Refactoring.