Refactoring, Change Algorithm, Use a Test for example.