added adc support