Adding HalfFinished for pwm