Choosing to refactor