refactor step Extract Method