added duty_step_branch