added duty cycle and bit controls