implementing segment dutyCycle()