Refactor for testing and a unit test.