step to refactor