Refactor regression