Refactored setting special step methods into its own function