Refactor to increase clarity.